package com.liang.subject.infra.basic.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.liang.subject.infra.basic.entity.SubjectJudge;
import com.liang.subject.infra.basic.service.SubjectJudgeService;
import com.liang.subject.infra.basic.mapper.SubjectJudgeMapper;
import org.springframework.stereotype.Service;

/**
* @author 29018
* @description 针对表【subject_judge(判断题)】的数据库操作Service实现
* @createDate 2024-10-12 15:24:28
*/
@Service
public class SubjectJudgeServiceImpl extends ServiceImpl<SubjectJudgeMapper, SubjectJudge> implements SubjectJudgeService{

    @Override
    public SubjectJudge getBySubjectId(Long subjectId) {
        return lambdaQuery().eq(SubjectJudge::getSubjectId, subjectId).one();
    }
}




